package com.bl.org.mapper;

import com.bl.org.domain.Shop;
import com.bl.basic.mapper.BaseMapper;
import com.bl.org.dto.ShopDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Bao
 * @since 2022-07-20
 */
public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 判断店铺是否注测过
     * @param shop
     * @return
     */
    Shop getShopByMessage(Shop shop);

    /**
     * getEcharts数据
     * @return
     */
    List<ShopDto> getEcharts();
}
